#ifndef FORM_COMMON_H
#define FORM_COMMON_H

#pragma once

class CProfile7_ : public CProfile7
{
public:
	void PropToString(int i, CString &s)
	{
		CProfile7::PropToString(i, s);
	};
	void PropFromString(int i, char const * s)
	{
		CProfile7::PropFromString(i, s);
	};
};

#define MES_CLASS_SIZE(class_name)\
DoMsgLine("size of %s is %d", mmNone, #class_name, sizeof class_name)

void GetRTCFull(CRuntimeClass* rtc, CString& Str);
void MessageFullRTC(CObject* obj , CString Indent="");

void TraceProfile(CProfile7* pProf=NULL, CString Indent="");
void TraceWindows(CWnd* pWnd, CString Indent="");
void TraceMenu(CMenu* Menu, CString Indent="");
void TraceBLContext(CBLContext* pBLC, CString Indent="");
void TraceGC(CBLContext* pBLC, CString Indent="", BOOL Detail=TRUE);

#endif